<template>
  <div class="dialog">
    <Modal
      v-model="options.modal"
      :title="options.isedit?'编辑'+options.title :options.title"
      :z-index="options.zIndex"
      footer-hide
      :loading="options.loading"
      :class-name="options.class"
      :width="options.width"
      >
      <slot></slot> 
    </Modal>
  </div>
</template>

<script>
export default {
  name: "dialogTemplate",
  data() {
    return {

    };
  },
  props: {
    options: {
      type: Object,
      default: () => {}
      /*
        需要搜索的条件
          title: 标题
          class 类名
          loading：加载圈
          zIndex:层级高度
      */
    }
  },
  components: {
   
  },
  computed: {},
  watch: {},
  mounted() {

  },
  methods: {
   
  }
};
</script>

<style scoped>
 
</style>
